import React, { Component } from 'react';
import NavBar from './NavBar'
class App extends Component {
  render() {
    const navLeft = <div>返回</div>
    const navCenter = <div>购物车</div>
    const navRight = <div>更多</div>
    return (
      <div>
        <NavBar leftSlot={navLeft} CenterSlot={navCenter} rightSlot={navRight}/>
      </div>
    );
  }
}

export default App;